/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package personal.obj;

import java.io.Serializable;

/**
 *
 * @author PHATNBSE61057
 */
public class OrderDetail implements Serializable {

    private int orderID;
    private String bookID;
    private double subPrice;
    private int quantity;
    private double unitPrice;

    public OrderDetail() {
    }

    public OrderDetail(int orderID, String bookID, double subPrice, int quantity, double unitPrice) {
        this.orderID = orderID;
        this.bookID = bookID;
        this.subPrice = subPrice;
        this.quantity = quantity;
        this.unitPrice = unitPrice;
    }

    /**
     * @return the orderID
     */
    public int getOrderID() {
        return orderID;
    }

    /**
     * @param orderID the orderID to set
     */
    public void setOrderID(int orderID) {
        this.orderID = orderID;
    }

    /**
     * @return the bookID
     */
    public String getBookID() {
        return bookID;
    }

    /**
     * @param bookID the bookID to set
     */
    public void setBookID(String bookID) {
        this.bookID = bookID;
    }

    /**
     * @return the subPrice
     */
    public double getSubPrice() {
        return subPrice;
    }

    /**
     * @param subPrice the subPrice to set
     */
    public void setSubPrice(double subPrice) {
        this.subPrice = subPrice;
    }

    /**
     * @return the quantity
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * @param quantity the quantity to set
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    /**
     * @return the unitPrice
     */
    public double getUnitPrice() {
        return unitPrice;
    }

    /**
     * @param unitPrice the unitPrice to set
     */
    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

}
